import 'package:flutter/material.dart';

extension OverlayExtension on BuildContext {
  OverlayState get overlayOf => Overlay.of(this);
//remove
}

extension OverlayEntryExtension on OverlayEntry {
  //remove
  void removeX() {
    if (!mounted) {
      return;
    }
    remove();
    dispose();
  }
}
